[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_COROLLA SECONDARY_LOGO_COROLLA "RollaParts\SECONDARY_LOGO_COROLLA.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "RollaParts\TuningIcons"

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC


if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos COROLLA
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos COROLLA
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions COROLLA
do
remove_collection GLOBAL\GLOBALB.LZC Collisions COROLLA
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos CLIO COROLLA
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COROLLA DefaultBasePaint GLOSS_L1_COLOR01
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COROLLA ManufacturerName TOYOTA
copy_collection GLOBAL\GLOBALB.LZC Collisions CLIO COROLLA
import override GLOBAL\GLOBALB.LZC DBModelParts RollaParts\COROLLA.bin

if directory_exists absolute CARS\COROLLA
do
else
create_folder absolute CARS\COROLLA
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\COROLLA\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\COROLLA\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\COROLLA\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\COROLLA\VINYLS.BIN

end

combobox "Silver" "Black" "Red" "Blue" "High Tech Two-Tone" "Choose your stock color."

"Silver"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COROLLA DefaultBasePaint COROLLA_PAINT_SILVER
move_file override relative absolute RollaParts\COROLLA.ini scripts\UnlimiterData\COROLLA.ini

"Black"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COROLLA DefaultBasePaint COROLLA_PAINT_BLACK
move_file override relative absolute RollaParts\COROLLA.ini scripts\UnlimiterData\COROLLA.ini

"Red"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COROLLA DefaultBasePaint COROLLA_PAINT_RED
move_file override relative absolute RollaParts\COROLLA.ini scripts\UnlimiterData\COROLLA.ini

"Blue"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COROLLA DefaultBasePaint COROLLA_PAINT_BLUE
move_file override relative absolute RollaParts\COROLLA.ini scripts\UnlimiterData\COROLLA.ini

"High Tech Two-Tone"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos COROLLA DefaultBasePaint COROLLA_PAINT_WHITE
move_file override relative absolute RollaParts\COROLLA_2.ini scripts\UnlimiterData\COROLLA.ini

end
